package com.wodsy.phoenix.dataobject.payc.vo;

import com.wodsy.phoenix.dataobject.base.PhoenixRequest;
import com.wodsy.phoenix.dataobject.payc.model.PayWater;

import javax.validation.constraints.NotNull;

/**
 * 名称：com.wodsy.phoenix.dataobject.payc.model
 * 描述：<br>
 * 类型：JAVA<br>
 * 最近修改时间：13/03/2015 17:05<br>
 *
 * @author Jack Chan
 * @since 13/03/2015
 */
public class PayReq implements PhoenixRequest {

    //订单支付序列号
    @NotNull
    private Long tradeQuotationId;
    //支付方式  1.支付宝;2.联动优势;3.银联
    @NotNull
    private PayWater.PayType payType;

    //前台展示价格
    @NotNull
    private Integer price;

    public Long getTradeQuotationId() {
        return tradeQuotationId;
    }

    public void setTradeQuotationId(Long tradeQuotationId) {
        this.tradeQuotationId = tradeQuotationId;
    }

    public PayWater.PayType getPayType() {
        return payType;
    }

    public void setPayType(PayWater.PayType payType) {
        this.payType = payType;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public PayReq(Long tradeQuotationId, PayWater.PayType payType, Integer price) {
        this.tradeQuotationId = tradeQuotationId;
        this.payType = payType;
        this.price = price;
    }

    public PayReq() {
    }
}


